<template>
  <ant-modal modalWidth="1000" modalHeight="600" :visible="open" :modal-title="formTitle" :adjust-size="true" :maskClosable="false"
    @cancel="cancel">
    <a-form-model ref="form" :model="form" :rules="rules" slot="content" layout="vertical">
      <a-row>
        <a-col :span="24">
          <a-card :bordered="false">
            <advance-table rowKey="id" size="middle" :columns="columns" :data-source="recordList"
              :pagination="false" :bordered="true">
              <span slot="completedSlot" slot-scope="{record}">
                <a-input type='text' placeholder="请输入" v-model="record.completedVol"/>
              </span>
              <span slot="operation" slot-scope="{record}">
                <a @click="handleUpdate(record)">
                  保存
                </a>
              </span>
            </advance-table>
              
          </a-card>
        </a-col>
      </a-row>

    </a-form-model>
    <template slot="footer">
      <a-button :disabled="disabled" @click="cancel">
        取消
      </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizOrderRecord from './BizOrderRecord'
export default {
  ...BizOrderRecord
}
</script>
<style lang="less" scoped>
.table-operations,
body tr.ant-table-expanded-row:hover .table-operations {
  padding-bottom: 8px;
  text-align: right;
}

.table-operations {
  margin-bottom: 16px;
}

.table-operations>button,
.table-operations .ant-input-affix-wrapper {
  margin-right: 8px;
}

.table_title {
  float: left;
  padding-left: 8px;
  font-weight: 600;
  color: #222222;
  line-height: 30px;
}
</style>
